import http from "../utils/http"

export const getGoodsList = (page, limit,...data) => {
  return http.get(`/goods/list/${page}/${limit}`,data)
}

export const getGoodsDetail=(goodsId)=>{
  return http.get(`/goods/${goodsId}`)
}